package xupt.com.bolg.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import xupt.com.bolg.service.impl.RewardServiceImpl;

@RestController
public class RewardController {
    @Autowired
    RewardServiceImpl rewardService;
    @GetMapping("/test/pay")
    public String PayMoney(){
        //添加嘟嘟
        rewardService.adddodo(1,10000);
        rewardService.saveReward(2,200,3);
        return "成功";
    }
}
